﻿/**
 *
 * @file BrowserTableHandlerJunctionAreaSEA.h
 * @brief  SEA面连接表格处理器
 * @author wangning (2185896382@qq.com)
 * @date 2024-12-23
 *
 */
#ifndef _WIDGET_TABLEHANDLER_JUNCTION_AreaSEA_H___
#define _WIDGET_TABLEHANDLER_JUNCTION_AreaSEA_H___

#include "BrowserTableHandlerJunctionAbstract.h"

namespace GUI
{
    /**
     * @brief SEA面连接表格处理器
     * @author wangning (2185896382@qq.com)
     * @date 2024-12-23
     */
    class GUIWIDGETAPI BrowserTableHandlerJunctionAreaSEA :
        public BrowserTableHandlerJunctionAbstract
    {
    public:
        using BrowserTableHandlerJunctionAbstract::BrowserTableHandlerJunctionAbstract;
        virtual ~BrowserTableHandlerJunctionAreaSEA() = default;
        /**
         * @brief 更新表格，包含头与数据
         * @author wangning (2185896382@qq.com)
         * @date 2024-12-10
         */
        void updateTable() override;
        /**
        * @brief 更新表格数据
        * @author wangning (2185896382@qq.com)
        * @date 2024-12-10
        */
        void updateData() override;

    protected:
        /**
         * @brief 获取点连接表格操作器
         * @return EventOper::OperAbstractMaterial*
         * @author wangning (2185896382@qq.com)
         * @date 2024-12-10
         */
        EventOper::OperAbstractJunction* getJunctionOper() override;
        /**
         * @brief 是否允许批量修改
         * @author wangning (2185896382@qq.com)
         * @date 2024-12-10
         */
        bool enableAttriSet() override;

    private:
        /**
        * @brief 最大层数
        * @author wangning (2185896382@qq.com)
        * @date 2024-12-23
        */
        int _maxlayers = 0;

    };

}

#endif
